package com.onlinevideo.dao;

import com.onlinevideo.entity.Role;
import com.onlinevideo.util.PageUtils;


import java.util.List;

public interface RoleDao extends PageBase<Role> {
    int insert(Role role);

    int delete(Long id);

    int update(Role role);

    Role queryById(Long id);

    List<Role> queryAll();
}
